.class Lrexsee/location/RexseeMapAbc$1;
.super Ljava/lang/Thread;
.source "RexseeMapAbc.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/location/RexseeMapAbc;->_getPoi(Lcom/mapabc/mapapi/PoiSearch$Query;Lcom/mapabc/mapapi/PoiSearch$SearchBound;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/location/RexseeMapAbc;

.field private final synthetic val$bound:Lcom/mapabc/mapapi/PoiSearch$SearchBound;

.field private final synthetic val$query:Lcom/mapabc/mapapi/PoiSearch$Query;


# direct methods
.method constructor <init>(Lrexsee/location/RexseeMapAbc;Lcom/mapabc/mapapi/PoiSearch$Query;Lcom/mapabc/mapapi/PoiSearch$SearchBound;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/location/RexseeMapAbc$1;->this$0:Lrexsee/location/RexseeMapAbc;

    iput-object p2, p0, Lrexsee/location/RexseeMapAbc$1;->val$query:Lcom/mapabc/mapapi/PoiSearch$Query;

    iput-object p3, p0, Lrexsee/location/RexseeMapAbc$1;->val$bound:Lcom/mapabc/mapapi/PoiSearch$SearchBound;

    .line 220
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .prologue
    .line 223
    new-instance v1, Lcom/mapabc/mapapi/PoiSearch;

    iget-object v2, p0, Lrexsee/location/RexseeMapAbc$1;->this$0:Lrexsee/location/RexseeMapAbc;

    # getter for: Lrexsee/location/RexseeMapAbc;->mContext:Landroid/content/Context;
    invoke-static {v2}, Lrexsee/location/RexseeMapAbc;->access$1(Lrexsee/location/RexseeMapAbc;)Landroid/content/Context;

    move-result-object v2

    iget-object v3, p0, Lrexsee/location/RexseeMapAbc$1;->this$0:Lrexsee/location/RexseeMapAbc;

    # getter for: Lrexsee/location/RexseeMapAbc;->mApiKey:Ljava/lang/String;
    invoke-static {v3}, Lrexsee/location/RexseeMapAbc;->access$2(Lrexsee/location/RexseeMapAbc;)Ljava/lang/String;

    move-result-object v3

    iget-object v4, p0, Lrexsee/location/RexseeMapAbc$1;->val$query:Lcom/mapabc/mapapi/PoiSearch$Query;

    invoke-direct {v1, v2, v3, v4}, Lcom/mapabc/mapapi/PoiSearch;-><init>(Landroid/content/Context;Ljava/lang/String;Lcom/mapabc/mapapi/PoiSearch$Query;)V

    .line 224
    .local v1, "search":Lcom/mapabc/mapapi/PoiSearch;
    iget-object v2, p0, Lrexsee/location/RexseeMapAbc$1;->val$bound:Lcom/mapabc/mapapi/PoiSearch$SearchBound;

    if-eqz v2, :cond_0

    iget-object v2, p0, Lrexsee/location/RexseeMapAbc$1;->val$bound:Lcom/mapabc/mapapi/PoiSearch$SearchBound;

    invoke-virtual {v1, v2}, Lcom/mapabc/mapapi/PoiSearch;->setBound(Lcom/mapabc/mapapi/PoiSearch$SearchBound;)V

    .line 226
    :cond_0
    :try_start_0
    iget-object v2, p0, Lrexsee/location/RexseeMapAbc$1;->this$0:Lrexsee/location/RexseeMapAbc;

    invoke-virtual {v1}, Lcom/mapabc/mapapi/PoiSearch;->searchPOI()Lcom/mapabc/mapapi/PoiPagedResult;

    move-result-object v3

    invoke-static {v2, v3}, Lrexsee/location/RexseeMapAbc;->access$3(Lrexsee/location/RexseeMapAbc;Lcom/mapabc/mapapi/PoiPagedResult;)V

    .line 227
    iget-object v2, p0, Lrexsee/location/RexseeMapAbc$1;->this$0:Lrexsee/location/RexseeMapAbc;

    # getter for: Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v2}, Lrexsee/location/RexseeMapAbc;->access$4(Lrexsee/location/RexseeMapAbc;)Lrexsee/core/browser/Browser;

    move-result-object v2

    iget-object v2, v2, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onPoiReady"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 231
    :goto_0
    return-void

    .line 228
    :catch_0
    move-exception v2

    move-object v0, v2

    .line 229
    .local v0, "e":Ljava/lang/Exception;
    iget-object v2, p0, Lrexsee/location/RexseeMapAbc$1;->this$0:Lrexsee/location/RexseeMapAbc;

    # getter for: Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v2}, Lrexsee/location/RexseeMapAbc;->access$4(Lrexsee/location/RexseeMapAbc;)Lrexsee/core/browser/Browser;

    move-result-object v2

    iget-object v3, p0, Lrexsee/location/RexseeMapAbc$1;->this$0:Lrexsee/location/RexseeMapAbc;

    invoke-virtual {v3}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    goto :goto_0
.end method
